﻿@model DataAbstractorExample.Forms.NoteEdit
@{
    ViewBag.Title = "Edit Note";
}

<h2>Edit Note</h2>


@using (var form = Html.BeginForm("Edit", "Note", null, FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="control-group">
        <label class="control-label" for="comment">Comment</label>
        <div class="controls">
            @Html.TextAreaFor(i => i.Message)
        </div>
    </div>
    
    <div class="control-group">
        <div class="controls">
            @Html.ActionLink("Cancel", "Index", "Note", null, new { @class = "btn" })
            <input type="submit" value="Save" class="btn btn-primary" />
        </div>
    </div>
}